package com.kc.business.service;

import com.kc.business.domain.BizScenic;
import com.kc.business.domain.BizScenicBusiness;
import com.kc.business.domain.dto.BizBusinessDTO;

import java.util.List;

/**
 * TODO
 *
 * @author zhangshuo
 * @version 1.0
 * @date 2020/9/9
 */

public interface IBizScenicBusinessService {
    /**
     * 查询商家列表
     *
     * @param bizScenicBusiness
     * @return
     */
    public List<BizScenicBusiness> getList(BizScenicBusiness bizScenicBusiness);
    /**
     * 修改商家
     *
     * @param bizScenicBusiness
     * @return
     */
    public int edit(BizScenicBusiness bizScenicBusiness);

    /**
     * 根据用户id获取角色详情商家列表
     * @param userId
     * @return
     */
    List<BizBusinessDTO> getRuleBusinessListByUserId(Integer userId);

    /**
     * 根据主键id获取商家详情
     * @param id
     * @return
     */
    BizScenicBusiness getBusinessInfoById(Integer id);

}
